package ca.concordia.soen6461.wichf.controller.dsl;

import ca.concordia.soen6461.wichf.controller.View;
import ca.concordia.soen6461.wichf.controller.ViewStack;

public class NavGoTo<V> implements Navigation {
	
	private View<V> view;
	
	public NavGoTo(View<V> view) {
		this.view = view;
	}

	@Override
	public void navigate(ViewStack viewStack) {
		viewStack.goTo(view);
	}

}
